package com.chance.cc.crawler.prod.command.schedule.commerce.jd.supplement;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.commerce.jd.supplement.JDH5CommentSupplementCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;
import org.apache.commons.lang3.StringUtils;

/**
 * @author lt
 * @version 1.0
 * @date 2020-12-09 16:15:28
 * @email okprog@sina.com
 */
public class JDCommentSupplementCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
        CommonCrawlerScheduleJob(JDH5CommentSupplementCrawlerScheduleJob.jdCrawlerJob());
//        CommonCrawlerScheduleJob(JDH5DetailSupplementCrawlerScheduleJob.jdCrawlerJob());
    }

    public static void CommonCrawlerScheduleJob(CrawlerJob crawlerJob){
//        crawlerJobScheduleCommand_17.republishCrawlerJob(
//                StringUtils.joinWith("-",crawlerJob.generateCrawlerTriggerKey(),1),device_name_1);
        crawlerJobScheduleCommand_17.republishCrawlerJob(
                StringUtils.joinWith("-",crawlerJob.generateCrawlerTriggerKey(),2),device_name_2);
//        crawlerJobScheduleCommand_17.republishCrawlerJob(
//                StringUtils.joinWith("-",crawlerJob.generateCrawlerTriggerKey(),3),device_name_3);
    }

}
